jsonDecodeUtf8
Type
function
Summary
Converts a binary string, containing utf-8 encoded JSON, to a LiveCode value.
Syntax
jsonDecodeUtf8(<pJsonUtf8>)
Description
Use the jsonDecodeUtf8 function to convert a binary string containing utf-8 encoded data to a LiveCode value.
For more details about LiveCode's JSON decoding support see jsonDecode.
Parameters
Name | Type | Description |
---|---|---|
pJsonUtf8 | The binary string containing utf-8 text to be converted from JSON format to a LiveCode value. |
Examples
jsonDecodeUtf8(textEncode("true", "utf-8")) is strictly true -- returns true
Related
function: jsonEncode, jsonDecode, jsonEncodeAscii, jsonEncodeUtf8, jsonEncodeForDisplay
Compatibility and Support
Introduced
LiveCode Create 1.0
OS
mac
windows
linux
ios
android
web
Platforms
desktop
server
mobile